<template>
  <CrudTable :columns="columns" :api="api" />
</template>
<script setup>
import CrudTable from '@/components/CrudTable.vue'
import * as api from '@/api/user'
const columns = [
  { prop: 'id', label: '用户ID' },
  { prop: 'userName', label: '用户名' },
  { prop: 'password', label: '密码' },
  { prop: 'role', label: '角色' },
  { prop: 'email', label: '邮箱' },
  { prop: 'description', label: '用户描述' },
  { prop: 'createTime', label: '创建时间' }
]
</script>